//
//  PTSBaseTabBar.h
//  PTS80
//
//  Created by 黄杰 on 15/11/3.
//  Copyright © 2015年 黄杰. All rights reserved.
//

#import <UIKit/UIKit.h>
@class PTSBaseTabBar;

@protocol PTSBaseTabBarDelegate <NSObject>
@optional
// 回调按钮tag
- (void)baseTabBar:(PTSBaseTabBar *)baseTabBar getItemTag:(NSInteger)tag;

@end

@interface PTSBaseTabBar : UIView
// 添加item
- (void)addTabBarButtonWithItem:(UITabBarItem *)item;

- (void)didSelectedItemWithTag:(NSInteger)tag;

@property (nonatomic, weak) id<PTSBaseTabBarDelegate> delegate;

- (void)setupSelectedItemColor:(UIColor *)itemColor;

- (void)setupLineColor:(UIColor *)lineColor;

@property (nonatomic, strong) UIColor *titleColor;
@property (nonatomic, strong) UIColor *selectedColor;

@end
